DEF_PROJECT=../../..
include $(DEF_PROJECT)/scripts/main.mk
name=mpfr
version=3.1.1
group=tools
deps=gmp
prefix=$(DIR_TOOLS)

DL_SERV=http
DL_HOST=ftp.gnu.org
DL_PATH=gnu/$(name)
DL_SUFFIX=tar.bz2

CC_CFLAGS=-O2
CC_LDFLAGS=
mdefs+=LDFLAGS="-Wl,-rpath,$(prefix)/lib"

cflags+=--enable-shared
cflags+=--with-gmp=$(prefix)
